package com.etc.service;

import com.etc.pojo.Video;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface VideoOfTypeService {

    /**
     * 根据二级分类编号查询视频
     * @param targetIdList
     * @param partIdList
     * @param degreeIdList
     * @param apparatusIdList
     * @param pageNo
     * @param pageSize
     * @return
     */
    public PageInfo<Video> getVideoByType(List<Integer> targetIdList,
                                          List<Integer> partIdList,
                                          List<Integer> degreeIdList,
                                          List<Integer> apparatusIdList,
                                          Integer pageNo,
                                          Integer pageSize);

    /**
     * 根据视频编号获取视频
      * @param videoId
     * @return
     */
    public Video getVideoById(Integer videoId);
}
